<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/privacy/dlp/v2beta1/dlp.proto

namespace Google\Cloud\Dlp\V2beta1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Request for scheduling a scan of a data subset from a Google Platform data
 * repository.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2beta1.CreateInspectOperationRequest</code>
 */
class CreateInspectOperationRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Configuration for the inspector.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;</code>
     */
    private $inspect_config = null;
    /**
     * Specification of the data set to process.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.StorageConfig storage_config = 2;</code>
     */
    private $storage_config = null;
    /**
     * Optional location to store findings.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.OutputStorageConfig output_config = 3;</code>
     */
    private $output_config = null;
    /**
     * Additional configuration settings for long running operations.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.OperationConfig operation_config = 5;</code>
     */
    private $operation_config = null;

    public function __construct() {
        \GPBMetadata\Google\Privacy\Dlp\V2Beta1\Dlp::initOnce();
        parent::__construct();
    }

    /**
     * Configuration for the inspector.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;</code>
     * @return \Google\Cloud\Dlp\V2beta1\InspectConfig
     */
    public function getInspectConfig()
    {
        return $this->inspect_config;
    }

    /**
     * Configuration for the inspector.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.InspectConfig inspect_config = 1;</code>
     * @param \Google\Cloud\Dlp\V2beta1\InspectConfig $var
     * @return $this
     */
    public function setInspectConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2beta1\InspectConfig::class);
        $this->inspect_config = $var;

        return $this;
    }

    /**
     * Specification of the data set to process.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.StorageConfig storage_config = 2;</code>
     * @return \Google\Cloud\Dlp\V2beta1\StorageConfig
     */
    public function getStorageConfig()
    {
        return $this->storage_config;
    }

    /**
     * Specification of the data set to process.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.StorageConfig storage_config = 2;</code>
     * @param \Google\Cloud\Dlp\V2beta1\StorageConfig $var
     * @return $this
     */
    public function setStorageConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2beta1\StorageConfig::class);
        $this->storage_config = $var;

        return $this;
    }

    /**
     * Optional location to store findings.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.OutputStorageConfig output_config = 3;</code>
     * @return \Google\Cloud\Dlp\V2beta1\OutputStorageConfig
     */
    public function getOutputConfig()
    {
        return $this->output_config;
    }

    /**
     * Optional location to store findings.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.OutputStorageConfig output_config = 3;</code>
     * @param \Google\Cloud\Dlp\V2beta1\OutputStorageConfig $var
     * @return $this
     */
    public function setOutputConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2beta1\OutputStorageConfig::class);
        $this->output_config = $var;

        return $this;
    }

    /**
     * Additional configuration settings for long running operations.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.OperationConfig operation_config = 5;</code>
     * @return \Google\Cloud\Dlp\V2beta1\OperationConfig
     */
    public function getOperationConfig()
    {
        return $this->operation_config;
    }

    /**
     * Additional configuration settings for long running operations.
     *
     * Generated from protobuf field <code>.google.privacy.dlp.v2beta1.OperationConfig operation_config = 5;</code>
     * @param \Google\Cloud\Dlp\V2beta1\OperationConfig $var
     * @return $this
     */
    public function setOperationConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2beta1\OperationConfig::class);
        $this->operation_config = $var;

        return $this;
    }

}

